<?php

class Room extends EMongoDocument {
    public $date;
    public $dayName;
    public $hotel;
    public $channel;
    public $roomType;
    public $available;
    public $usedTotalAllotment;
    public $closeOutRegularAllot;
    public $promotionBlackout;
    public $noArrival;
    public $minStay;

    public function attributeLabels() {
        return array(
            'date' => 'date',
            'dayName' => 'dayName',
            'hotel' => 'hotel',
            'channel' => 'channel',
            'roomType' => 'roomType',
            'available' => 'available',
            'usedTotalAllotment' => 'usedTotalAllotment',
            'closeOutRegularAllot' => 'closeOutRegularAllot',
            'promotionBlackout' => 'promotionBlackout',
            'noArrival' => 'noArrival',
            'minStay' => 'minStay',
        );
    }

    public static function model($className = __CLASS__) {
        return parent::model($className);
    }

    public function getCollectionName() {
        return 'rooms';
    }
}

?>